package com.gtq.uhome.mapper;

import com.gtq.uhome.pojo.Supplies;
import com.gtq.uhome.vo.SuppliesVO;

import java.util.List;

public interface SuppliesMapper {
    int deleteByPrimaryKey(Integer supId);

    int insert(Supplies record);

    int insertSelective(Supplies record);
    /**
     * 查询全部物料信息
     * @return
     */
    List<Supplies> findAll();

    Supplies selectByPrimaryKey(Integer supId);

    int updateByPrimaryKeySelective(Supplies record);

    int updateByPrimaryKey(Supplies record);

    //同过对象查询物料的ID
    Integer selectIdByObject(SuppliesVO suppliesVO);
}